<!DOCTYPE html>
<html>
	<head>
	<title>费用支出</title>
		<meta http-equiv="Pragma" CONTENT="no-cache">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="renderer" content="webkit">

		<%include("/common/include.html"){}%>
		<style type="text/css">
			ul li{
				display: inline-block;
				width:190px;
				height:30px;
				position:relative;
			}
			ul li div{
				position:absolute;
				right:0px;
			}
		</style>
	</head>
	<body>
		<form id="allData_form">
			<ul style="padding: 10px;">
				<li  style="width: 240px;">
					<div>
						<span >费用支出日期</span>
						<input id="cost_datebox" class="easyui-datetimebox inputBox theme-textbox-radius" data-options="sharedCalendar:'#cc',showSeconds:true" style="height: 30px;width:160px">
					</div>
				</li>
				<li>
					<div>
						<span>支出类别</span>
						<#code type="select" id="fyzc_select" name="" code="code_fyzc"   class="easyui-combobox inputBox theme-textbox-radius" style="height:30px;width:110px;text-align:center"/>
					</div>
				</li>
				<li>
					<div>
						<span>支出方式</span>
						<#code type="select" id="skfs_select" name="" code="code_skfs"   class="easyui-combobox inputBox theme-textbox-radius" style="height:30px;width:110px;text-align:center"/>
					</div>
				</li>
				<li>
					<div>
						<span>支出人员</span>
	<!-- 				<#code type="select" id="fyzc_select" name="" code="code_fyzc"   class="easyui-combobox inputBox theme-textbox-radius" style="height:30px;width:110px;text-align:center"/> -->
	<!-- 				<input  id="zcry_combobox" class=" easyui-combobox  theme-textbox-radius" style="height:30px;width:110px;text-align:center"/> -->
						<#organization type="select" id="zcry_select" name=""  defaultCode="${userids! }" class="easyui-combobox inputBox theme-textbox-radius" organization="${organids! }" style="height:30px;width:110px;text-align:center"/>
					</div>
				</li>
				<li style="width:151px">
					<div>
						<a href="#" class="easyui-linkbutton" style="height: 30px;" onclick="append()" data-options="iconCls:'icon-add'">添加</a>
					</div>
				</li>
				
			</ul>
			<div id="cc" class="easyui-calendar"></div>
			<table id="cost" class="easyui-datagrid" style="width:100%;height:auto"
					data-options="
						singleSelect: true,
						fitColumns:true,
						method: 'get',
						onClickRow: onClickRow
					">
				<thead>
					<tr>
						<th data-options="field:'zctime',width:100,align:'center'">支出时间</th>
						<th data-options="field:'zctypeids',hidden:true">支出类别ids</th>
						<th data-options="field:'zctype',width:100,align:'center'">支出类别</th>
						<th data-options="field:'money',width:100,align:'center',editor:{type:'numberspinner',options:{precision:2,min:0}}">金额（元）</th>
						<th data-options="field:'detail',width:100,align:'center',editor:'textbox'">明细</th>
						<th data-options="field:'zcfsids',hidden:true">支出方式ids</th>
						<th data-options="field:'zcfs',width:100,align:'center'">支出方式</th>
						<th data-options="field:'zcryids',hidden:true">支出人员ids</th>
						<th data-options="field:'zcry',width:100,align:'center'">支出人员</th>
						<th data-options="field:'Operate',width:100,align:'center',formatter:go">操作</th>
					</tr>
				</thead>
				<tbody>
				</tbody>
			</table>
			<div id="allData" style="display:none;"></div>	
			<a href="#" class="easyui-linkbutton" iconCls="icon-ok" style="width:;height:32px;margin-left: 85%;margin-top: 20px;" onclick="save()">保存</a>
		</form>
		<script src="${cxt !}/sb/js/bcost/bcost.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
